#include "Attribut.h"

Attribut::Attribut(string unNom, string uneValeur) {
	this->nom = unNom;
	this->valeur = uneValeur;
}


string Attribut::toString() {
	string s = "";
	s += this->nom;
	s += "=\"";
	s += this->valeur;
	s += "\"";

	return s;
}

string Attribut::getRegexExp() {
	return this->nom;
}

string Attribut::getValeur(){
	return valeur;
}

string Attribut::getNom(){
	return nom;
}